import Cookie from "cookie_js";

const token = "token"
const username = "username"

export function setToken(value) {
    return Cookie.set(token, value)
}

export function getToken() {
    return Cookie.get(token)
}

export function removeToken() {
    return Cookie.remove(token)
}

export function setUsername(value) {
    return Cookie.set(username, value)
}

export function getUsername() {
    return Cookie.get(username)
}

export function removeUsername() {
    return Cookie.remove(username)
}